<form method='post' action='<?=$_SERVER['REQUEST_URI']?>' class="dataForm">
	<div class="zzlBox zMust">
		<label for="">Demo标题:</label>
		<input class="zInput" type="text" value="<?=@$demo['Demo']['name']?>" name='name' placeholder="Demo标题">
	</div>
	<div class="zzlBox zMust">
		<label for="">所属分类:</label>
		<select name="class" class="zSelect">
			<?php if($nclass['name']=='选择分类'):?>
			<option selected="selected" value="0">选择分类</option>
			<?php else:?>
			<option selected="selected" value="<?=$nclass['id']?>"><?=$nclass['name']?></option>	
			<?php endif;?>
			<?php foreach($class as $key => $value):?>
			<option value="<?=$value['Class']['id']?>"><?=$value['Class']['name']?></option>
			<?php endforeach;?>
		</select>
	</div>
	<div class="zzlBox">
		<button type="submit" class="zSubmit">提交</button></div>
	</div>
</form>
